<p class="Head1"><help:paragraphinfo state="U" number="1"/><help:key-word value="Day; function" tag="kw66388_1"/><help:link Id="66388">Day Function [Runtime]</help:link></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="2"/>Returns a value that represents the day of the month based on a serial date number generated by <span style="font-weight:bold;">DateSerial</span> or <span style="font-weight:bold;">DateValue</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Number:</span> A numeric expression that contains a serial date number from which you can determine the day of the month.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/>This function is basically the opposite of the DateSerial function, returning the day of the month from a serial date number generated by the <span class="T1">DateSerial</span> or the <span class="T1">DateValue</span> function. For example, the expression</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>Print Day (DateSerial(1994, 12, 20))</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>returns the value 20.</p>